<!DOCTYPE html>
<html lang="zh">
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新建日志</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>

    <link rel="stylesheet" href="/css/skin.css">
<!--    <link rel="stylesheet" href="/css/situationAware/spiderDataForm.css">-->
    <!--编辑器-->
    <link rel="stylesheet" href="/css/froala_editor.min.css" />
    <link rel="stylesheet" href="/css/froala_editor.pkgd.min.css" />
    <link rel="stylesheet" href="/css/bootstrapValidator.min.css" />
</head>
<body>

<div class="container-fluid p-t-15">
    <div class="row">
        <div class="col-sm-12">
            <div class="card">
                <div class="card-header">
                    <h1>新增日志</h1>
                </div>
                <div class="card-body">

                    <form class="form-horizontal" autocomplete="off">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">标题</label>
                            <div class="col-sm-4">
                                <input id="workOrderTitle" type="text" class="form-control" maxlength="30" name="workOrderTitle" placeholder="请输入">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">类型</label>
                            <div class="col-sm-4">
                                <select class="form-control" id="workOrderType" type="text" placeholder="请选择" data-live-search="true" name="workOrderType">
                                    <option value="">请选择</option>
                                    <option value="0">无</option>
                                    <option value="1">客户落实</option>
                                    <option value="2">日常沟通</option>
                                    <option value="3">需求挖掘</option>
                                    <option value="4">会员维护</option>
                                    <option value="5">促单</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">客户名称</label>
                            <div class="col-sm-4">
                                <select class="form-control" id="customerId" type="text" placeholder="请选择" data-live-search="true" name="customerId">
                                    <option value="">请选择</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">描述您所述的内容</label>
                            <div class="col-sm-10">
                                <!--                        <textarea rows="8" name="workOrderContent" id="workOrderContent" class="form-control" maxlength="300"></textarea>-->
                                <div id="editor" ></div>
<!--                                onmouseup="show_element(event)"-->
                            </div>
                        </div>

                        <div style="margin-left: 20%;text-align: center;">
<!--                            onclick="saveWorkOrder()"-->
                            <button class="btn btn-primary form-group" type="submit" name="submit" style="margin-right: 30px;"
                                    onclick="saveWorkOrder()"
                                    >提交
                            </button>
<!--                            onclick="cancelAddWorkOrder()"-->
                            <button class="btn btn-default" type="button" onclick="cancelAddWorkOrder()">重置</button>
                        </div>


                    </form>

                </div>
            </div>
        </div>
    </div>
</div>

</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/city.js"></script>
<script src="/js/crm/common/common.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>

<script type="text/javascript" src="/js/froala_editor.min.js"></script>
<script type="text/javascript" src="/js/froala_editor.pkgd.min.js"></script>

<script type="text/javascript" src="/js/bootstrapValidator.min.js"></script>

<script src="/js/crm/worklog/user/addWorkLog.js"></script>
</html>